package com.soft.dao;

import java.util.Map;

import com.soft.model.News;

public interface NewsDao extends BaseDao {
	
	public News get(Integer id);
	
	public Map<String, Object> getLst(String index, Integer page, Integer pageSize);
	
	public Map<String, Object> get(String index, Integer id);
	
	public void addOrEdit(News news);
	
	public void remove(News news);
}
